Entries

??=[entries] The object <modifier>s used for the default entries can be changed from the default `|!C| |+=<|"object""width"|,| "object""height"|>| |+<| 2×"object""margin"|>|' (with the effect of centering the object, forcing it to have at least the size "object""width" times "object""height" and finally add the "object""margin") to all sides, by
\begin{defs1}
\vert\entrymodifiers={\vert <stuff> \vert}\vert
\end{defs1}

(

@@

@#1 @=#1=@ =@ @ @=@ @- @>@ @ =.5@ =@ @=@ @- @>@ @ @=@ 2@ 2@ =-.5@ .5@ @ @h@@=@=.5@=.5@ )

The appearance of a single entry can be modified by entering it as
\begin{defs1}
\vert*\vert <object> <decor>
\end{defs1}
This makes the particular entry ignore the entry modifiers and typeset as a kernel object with the same reference point as the (center of) the default object would have had.


\begin{exercise}
Typeset the following diagram:
\begin{code}
\xy\xymatrix{
*+!...
...
ensure that the entries are grown just as in the default case.}
\end{exercise}

Finally, || is used to setup <decor> that should be inserted before everything else in each entry. Initially it is empty but
\begin{defs1}
\vert\everyentry={\vert <decor> \vert}\vert
\end{defs1}
will insert <decor> first in each entry. For example,
\begin{code}
\everyentry={\drop\cir{}}
\xy\xymatrix{
A \POS[];[r]**\dir{~} & B
}\endxy
\end{code}
will typeset

$\displaystyle \docode$

(

@@= )


\begin{exercise}
How did the author typeset the following diagram?
\begin{code}...
...und each cell.
\answercode
\answertext{Here is how: \displaycode}
\end{exercise}

2